﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PumpeStation.aspx.cs" Inherits="AfvandingKlient.OpretPumpeStation" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Pumpestation</title>
    <style type="text/css">
        .auto-style1 {
            width: 100%;
        }
        .auto-style4 {
            width: 164px;
        }
        .auto-style5 {
            width: 159px;
        }
    </style>
</head>
<body>
    <form id="OpretPumpeStation" runat="server">
    <div>
        <asp:Label ID="_pageHeader" runat="server" Text="Opret Pumpestation" Font-Bold="True" Font-Size="XX-Large"></asp:Label><br /><br />
        <div>
            <table class="auto-style1">
                <tr>
                    <td class="auto-style4"><asp:Label ID="lblPumpestationsNr" runat="server" Text="Pumpestations nummer: "></asp:Label></td>
                    <td class="auto-style5"><asp:TextBox CssClass="txtbox" ID="txtboxPumpestationsNr" runat="server"></asp:TextBox></td>
                    <td>
                        <asp:RequiredFieldValidator ID="RFVPumpestationsnr" runat="server" ErrorMessage="Skal udfyldes!" ControlToValidate="txtboxPumpestationsNr" Font-Bold="True" ForeColor="Red"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td class="auto-style4"><asp:Label ID="lblNetværksadresse" runat="server" Text="Netværksadresse: "></asp:Label></td>
                    <td class="auto-style5"><asp:TextBox CssClass="txtbox" ID="txtboxNetværksadresse" runat="server"></asp:TextBox></td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Skal udfyldes!" ControlToValidate="txtboxNetværksadresse" Font-Bold="True" ForeColor="Red"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td class="auto-style4"><asp:Label ID="lblIP" runat="server" Text="IP adresse: "></asp:Label></td>
                    <td class="auto-style5"><asp:TextBox CssClass="txtbox" ID="txtboxIP" runat="server"></asp:TextBox></td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Skal udfyldes!" ControlToValidate="txtboxIP" Font-Bold="True" ForeColor="Red"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td class="auto-style4"><asp:Label ID="lblPort" runat="server" Text="Port: "></asp:Label></td>
                    <td class="auto-style5"><asp:TextBox CssClass="txtbox" ID="txtboxPort" runat="server"></asp:TextBox></td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Skal udfyldes!" ControlToValidate="txtboxPort" Font-Bold="True" ForeColor="Red"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td class="auto-style4"><asp:Label ID="lblVandstandsrisiko" runat="server" Text="Vandstandsrisiko: "></asp:Label></td>
                    <td class="auto-style5"><asp:DropDownList AppendDataBoundItems="true" ID="dropdownVandstandsrisiko" runat="server"><asp:ListItem></asp:ListItem></asp:DropDownList></td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Skal vælges!" ControlToValidate="dropdownVandstandsrisiko" Font-Bold="True" ForeColor="Red"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td class="auto-style4"><asp:Label ID="lblVandstand" runat="server" Text="Vandstand: "></asp:Label></td>
                    <td class="auto-style5"><asp:TextBox CssClass="txtbox" ID="txtboxVandstand" runat="server"></asp:TextBox></td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Skal udfyldes!" ControlToValidate="txtboxVandstand" Font-Bold="True" ForeColor="Red"></asp:RequiredFieldValidator></td>
                </tr>
            </table>
        </div>
        <br />
        <asp:Button CausesValidation="true" ID="btnOpretPumpestation" runat="server" Text="Opret/Opdatér" OnClick="btnOpretPumpestation_Click" />
        <asp:Button CausesValidation="false" ID="btnCancel" runat="server" Text="Annullér" OnClick="btnCancel_Click" />
    </div>
    </form>
</body>
</html>
